package com.sino.operation.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import com.sino.operation.entity.entityBasic.Register;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 保证金开立登记簿表
 * </p>
 *
 * @author admin
 * @since 2021-10-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("BIZ_MARGIN_OPEN_ACCOUNT")
@ApiModel(value = "BizMarginOpenAccount对象", description = "保证金开立登记簿表")
public class BizMarginOpenAccount implements Register, Serializable {

    private static final long serialVersionUID = 1L;
    //通用字段--------------start--------------
    @ApiModelProperty(value = "流水号/主键")
    @TableId("JOURNAL_NO")
    private String journalNo;

    @ApiModelProperty(value = "交易码")
    @TableField("TRANS_CODE")
    private String transCode;

    @ApiModelProperty(value = "影像ID")
    @TableField("IMAGE_ID")
    private String imageId;

    @ApiModelProperty(value = "业务类型")
    @TableField("BSTY")
    private String bsty;

    @ApiModelProperty(value = "切片标志")
    @TableField("CPS_FLAG")
    private String cpsFlag;

    @ApiModelProperty(value = "优先级")
    @TableField("PRIORITY")
    private String priority;

    @ApiModelProperty(value = "交易日期")
    @TableField("TRANS_DATE")
    private String transDate;

    @ApiModelProperty(value = "发起机构")
    @TableField("ORGAN_ID")
    private String organId;
    //通用字段--------------end--------------
    //柜面部分--------------start--------------
    @ApiModelProperty(value = "产品类型")
    @TableField("PRODUCT_TYPE")
    private String productType;

    @ApiModelProperty(value = "资金来源")
    @TableField("SOURCE")
    private String source;

    @ApiModelProperty(value = "转出凭证种类")
    @TableField("CERTY")
    private String certy;

    @ApiModelProperty(value = "外管账户性质")
    @TableField("WGZHXZ")
    private String wgzhxz;

    @ApiModelProperty(value = "业务编号")
    @TableField("BUSINESS_NO")
    private String businessNo;

    @ApiModelProperty(value = "凭证批次号")
    @TableField("CERNO")
    private String cerno;

    @ApiModelProperty(value = "凭证号码")
    @TableField("CERNO2")
    private String cerno2;

    @ApiModelProperty(value = "证件类型（经办人）")
    @TableField("CREDENTIALS_TYPE")
    private String credentialsType;

    @ApiModelProperty(value = "证件号码（经办人）")
    @TableField("CREDENTIALS_NO")
    private String credentialsNo;

    @ApiModelProperty(value = "客户名称（经办人）")
    @TableField("CLIENT_NAME")
    private String clientName;

    @ApiModelProperty(value = "证件件起始日期（经办人）")
    @TableField("CREDENTIALS_STARTTIME")
    private String credentialsStarTime;

    @ApiModelProperty(value = "证件截止日期（经办人）")
    @TableField("CREDENTIALS_ENDTIME")
    private String credentialsEndTime;

    @ApiModelProperty(value = "电话号码（经办人）")
    @TableField("PHONE")
    private String phone;

    @ApiModelProperty(value = "国籍（经办人）")
    @TableField("NATIONALITY")
    private String nationality;

    @ApiModelProperty(value = "推荐员工号")
    @TableField("TJYGH")
    private String tjygh;

    @ApiModelProperty(value = "推荐人姓名")
    @TableField("TJRXM")
    private String tjrxm;

    @ApiModelProperty(value = "币种")
    @TableField("BZ")
    private String bz;
    @ApiModelProperty(value = "账户性质")
    @TableField("ACCTY")
    private String accty;

    @ApiModelProperty(value = "是否打印证实书")
    @TableField("PRINT_OR_NOT")
    private String printOrNot;

    @ApiModelProperty(value = "付息方式")
    @TableField("FXFS")
    private String fxfs;
    //柜面部分--------------end--------------
    //整单部分--------------start--------------
    @ApiModelProperty(value = "转出账号/付款人账号")
    @TableField("PAY_ACC")
    private String payAcc;

    @ApiModelProperty(value = "转出账户户名/付款人名称")
    @TableField("PAY_NAME")
    private String payName;

    @ApiModelProperty(value = "付款人开户行名")
    @TableField("PAY_BNAME")
    private String payBname;

    @ApiModelProperty(value = "收款人名称")
    @TableField("RECV_NAME")
    private String recvName;

    @ApiModelProperty(value = "收款人开户行名")
    @TableField("RECV_BNAME")
    private String recvBName;

    @ApiModelProperty(value = "转出凭证号码/付款凭证号码")
    @TableField("ZCCERNO2")
    private String zccerno2;

    @ApiModelProperty(value = "开户金额/交易金额")
    @TableField("AMOUNT")
    private String amount;

    @ApiModelProperty(value = "出票日期")
    @TableField("CERDATE")
    private String cerdate;

    @ApiModelProperty(value = "支付密码")
    @TableField("PAYPWD")
    private String paypwd;

    @ApiModelProperty(value = "起息日(默认返显当天)")
    @TableField("QXR")
    private String qxr;

    @ApiModelProperty(value = "到期日（根据存期返显）")
    @TableField("DXR")
    private String dxr;

    @ApiModelProperty(value = "备注")
    @TableField("REMARKS")
    private String remarks;

    @ApiModelProperty(value = "付息频率")
    @TableField("FXPL")
    private String fxpl;

    @ApiModelProperty(value = "转存方式")
    @TableField("ZCFS")
    private String zcfs;

    @ApiModelProperty(value = "转存存期")
    @TableField("BONDTERM")
    private String bondterm;
    //整单部分--------------end--------------

}
